<?php

namespace Constructor;

class FactoryUndefinedClassException extends Exception
{
    public function __construct( $class )
    {
        $message = 'Constructor failed to build the class. Undefined class \''.var_export( $class, TRUE ).'\'.';
        parent::__construct( $message );
    }
}
